<template>
  <div class="main">
    <div class="left">
      <div class="title">
        <div class="ico"><slot name="ico"/></div>
        <div class="text"><slot name='text'/></div>
      </div>
      <div class="infor">
        <slot name="infor"/>
      </div>
    </div>
    <div class="right">
      <div class="recordMain">
        <div class="selects">
          <slot name="selects"/>
        </div>
        <div class="records">
          <slot name="records"/>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.main {
  height: calc(100% - 96px);
  width: 100%;
  margin-top: 96px;
  position: absolute;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  .left {
    width: 340px;
    padding-right: 20px;
    .title {
      width: 250px;
      height: 65px;
      background: url(~assets/img/day/day_tit.png) no-repeat;
      background-size: 100% 100%;
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      .ico {
        margin-left: 5px;
        width: 60px;
        height: 60px;
      }
      .text {
        font-size: 30px;
        font-weight: bold;
        color: white;
        width: 200px;
        text-align-last: center;
      }
    }
  }
  .right {
    width: calc(100% - 260px);
    .recordMain {
      background: url(~assets/img/day/main_bg.png) no-repeat;
      background-size: 100% 100%;
      padding: 60px;
      width: 100%;
      .selects {
        display: flex;
        margin-left: 20px;
        font-size: 16px;
        flex-wrap: wrap;
      }
      .records {
        margin-top: 10px;
        height: 560px;
        overflow: auto;
      }
    }
  }
}
</style>